<template>
	<view class="wrap">
		<view class="share-img">
			<image src="../../static/user/shareBg.png"></image>
		</view>
		<u-button type="error" open-type="share" class="share-btn">立即邀请</u-button>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onShareAppMessage() {
			let that = this
			return {
				title:"黑马相亲",
				path: "/pages/user/inviteWeb?invitationCode=" + that.invitationCode,
				success(res) {
					console.log(res);
				},
				fail(res) {
					console.log("转发发布器调起失败",res);
				},
			};
		},
		methods: {
			
		}
	}
</script>

<style lang="less">
	.wrap{
		padding: 30upx;
	}
	.share-img{
		height: 1100upx;
		margin: auto;
		image{
			width: 100%;
			height: 100%;
		}
	}
	.share-btn{
		margin-top: 100upx;
		width: 300upx;
		border-radius: 50upx;
	}
</style>
